package org.jeecg.modules.param.member.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.param.member.entity.BikeMemberUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.param.member.vo.SysUserRes;
import org.jeecg.modules.param.member.vo.UserCard;

import java.util.List;

/**
 * @Description: 会员用户管理
 * @Author: 月月鸟
 * @Date:   2021-05-25
 * @Version: V1.0
 */
public interface BikeMemberUserMapper extends BaseMapper<BikeMemberUser> {

    Page<UserCard> pageList(Page<UserCard> page, @Param(value = "userCard") UserCard userCard);

    List<UserCard> list(UserCard userCard);


    List<SysUserRes> listAdmin(SysUserRes sysUserRes);
    /**
     * 根据运维app权限 获取 维修 调度 保洁 的管理用户
     * */
    List<SysUserRes> listAdminByApp(SysUserRes sysUserRes);

    List<UserCard> queryPageListById(String id);

    long getPageListCount(@Param(value = "userCard") UserCard userCard);
}
